<template>
	<view>
		<!-- <web-view
			src="http://mp.weixin.qq.com/s?__biz=MzA5NDIzNzY1OQ==&mid=2735625245&idx=1&sn=a64de24639fd2b9b2f4013e9be95ae29&chksm=b6ab52a981dcdbbfafe5bf5e5ac6e73ebfb81dbeef3f12d3fa4adb5e79acd0730ff4ada9d131&mpshare=1&scene=23&srcid=1009aNtTpIX023U10vMAf16O&sharer_shareinfo=8d7bf8396380b9036fa0bc5b670ebb7e&sharer_shareinfo_first=8d7bf8396380b9036fa0bc5b670ebb7e#rd"
		></web-view> -->
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			url: ''
		};
	},
	onLoad() {
		this.init();
	},
	methods: {
		init() {
			this.$http
				.getJson('index_newsDetail', {
					id: 114
				})
				.then((res) => {
					const { code, data } = res;
					this.url = data.info.title;
				});
		}
	}
};
</script>

<style lang="less"></style>
